home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 4
/
Precision Software Applications Silver Collection Volume 4 (1993).iso
/
stats
/
mathx30.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-08-07
|
2KB
|
76 lines
ECHO OFF
REM INSTALL.BAT (5.25), COPYRIGHT 1991 BY DAVID DENKER
if %1==%1 goto start
:jmp
echo Command line must include drive!
echo Command line format is INSTALL drive letter:
echo Example INSTALL C:
goto exit2
:start
if %1==a goto jmp
if %1==A goto jmp
if %1==b goto jmp
if %1==B goto jmp
if %1==c goto jmp
if %1==C goto jmp
if %1==d goto jmp
if %1==D goto jmp
if %1==e goto jmp
if %1==E goto jmp
if %1==a: goto jmp2
if %1==A: goto jmp2
if %1==b: goto jmp2
if %1==B: goto jmp2
echo ╔══════════════════════════════╗
echo ║ Hard Disk Installation! ║
echo ║ MATH EXTRA will be installed ║
echo ║ on your hard drive in a ║
echo ║ directory named MATHX. ║
echo ╚══════════════════════════════╝
echo Hit Ctrl-C to exit.
pause
COPY MATHX.BAT %1\
MD %1\MATHX
COPY *.* %1\MATHX
COPY MATHXR.* %1\
DEL %1\MATHX\MATHX.BAT
DEL %1\MATHX\INSTALL.BAT
:DISK2
cls
echo ╔════════════════════════════╗
echo ║ Insert disk 2 ║
echo ║ Applications & Utilities ║
echo ╚════════════════════════════╝
pause
COPY *.* %1\MATHX
DEL %1\MATHX\FINANCE.APR
COPY FINANCE.APR %1\
goto exit
:jmp2
echo ╔═══════════════════════════════╗
echo ║ Floppy Disk Installation! ║
echo ║ MATH EXTRA will be installed ║
echo ║ on the specified floppy disk. ║
echo ╚═══════════════════════════════╝
echo Hit Ctrl-C to exit.
pause
COPY *.COM %1
COPY *.ENV %1
COPY *.DFT %1
COPY MATHX.HLP %1
COPY MATHX.MEM %1
COPY MATHX.VAR %1
COPY MATHX.SET %1
COPY MATHXR.* %1
cls
echo ╔════════════════════════════╗
echo ║ Insert disk 2 ║
echo ║ Applications & Utilities ║
echo ╚════════════════════════════╝
pause
COPY *.* %1
:exit
cls
echo MATH EXTRA (MATHX) installation complete.
:exit2